package com.pxml2pdf.pdf;

import java.util.ArrayList;
import java.util.List;

import com.pxml2pdf.pdf.Node.BaseNode;

public class PageInfo {
	private Integer index;
	private List<BaseNode> nodelist = new ArrayList<BaseNode>();

	public Integer getIndex() {
		return index;
	}

	public void setIndex(Integer index) {
		this.index = index;
	}

	public List<BaseNode> getNodelist() {
		return nodelist;
	}

	public void setNodelist(List<BaseNode> nodelist) {
		this.nodelist = nodelist;
	}
	
	public void addNode(BaseNode node){
		 nodelist.add(node);
	}
}
